import { commentList, comment, add, update, del } from '../../controller/comment/comment'
export default async router => {
  router.get('/comment/list', commentList)
  router.get('/comment/getcomment', comment)
  router.post('/comment/add', add)
  router.post('/comment/update', update)
  router.get('/comment/del', del)
}
